<template>
  <div>
    <el-tabs v-model="activeTabName" type="card" @tab-click="handleClick">
      <el-tab-pane label="储值卡活动" name="activity">
        <activity />
      </el-tab-pane>
      <el-tab-pane label="充值业务配置" name="configuration">
        <configuration />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
  import activity from './components/Activity'
  import configuration from './components/Configuration'
  export default {
    name: 'callSearch',
    components: {
      activity, configuration
    },
    data() {
      return {
        activeTabName: 'activity'
      }
    },
    methods: {
      handleClick(tab, event) {
        // console.log(tab, event)
      }
    }
  }
</script>

<style scoped>

</style>
